package org.spring.cloud.bean;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

public class UserBean implements Serializable{
	private static final long serialVersionUID = 1L;
	private Long id;
    private String username;
    private String password;
    private String chName;
    private String email;
    private String mobile;
    private Date birthday;
    private Integer integral;
    private Integer disabled;
    private Integer isAdmin;
    private Integer grade;
    private String ip;
    private Date createDate;
    private Date outDate;
    private String validataCode;
    private Integer isActivate;
    private Integer sex;
    private String province;
    private String city;
    private String industry;
    private String job;
    private Integer blogId;
    private Integer isOpenBlog;
    private Integer isAllowAt;
    private Integer isAllowSendMsg;
    private Integer isSubscribeMsg;
    private byte[] picture;
    private Integer checkType;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getChName() {
		return chName;
	}
	public void setChName(String chName) {
		this.chName = chName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Integer getIntegral() {
		return integral;
	}
	public void setIntegral(Integer integral) {
		this.integral = integral;
	}
	public Integer getDisabled() {
		return disabled;
	}
	public void setDisabled(Integer disabled) {
		this.disabled = disabled;
	}
	public Integer getIsAdmin() {
		return isAdmin;
	}
	public void setIsAdmin(Integer isAdmin) {
		this.isAdmin = isAdmin;
	}
	public Integer getGrade() {
		return grade;
	}
	public void setGrade(Integer grade) {
		this.grade = grade;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getOutDate() {
		return outDate;
	}
	public void setOutDate(Date outDate) {
		this.outDate = outDate;
	}
	public String getValidataCode() {
		return validataCode;
	}
	public void setValidataCode(String validataCode) {
		this.validataCode = validataCode;
	}
	public Integer getIsActivate() {
		return isActivate;
	}
	public void setIsActivate(Integer isActivate) {
		this.isActivate = isActivate;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getIndustry() {
		return industry;
	}
	public void setIndustry(String industry) {
		this.industry = industry;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public Integer getBlogId() {
		return blogId;
	}
	public void setBlogId(Integer blogId) {
		this.blogId = blogId;
	}
	public Integer getIsOpenBlog() {
		return isOpenBlog;
	}
	public void setIsOpenBlog(Integer isOpenBlog) {
		this.isOpenBlog = isOpenBlog;
	}
	public Integer getIsAllowAt() {
		return isAllowAt;
	}
	public void setIsAllowAt(Integer isAllowAt) {
		this.isAllowAt = isAllowAt;
	}
	public Integer getIsAllowSendMsg() {
		return isAllowSendMsg;
	}
	public void setIsAllowSendMsg(Integer isAllowSendMsg) {
		this.isAllowSendMsg = isAllowSendMsg;
	}
	public Integer getIsSubscribeMsg() {
		return isSubscribeMsg;
	}
	public void setIsSubscribeMsg(Integer isSubscribeMsg) {
		this.isSubscribeMsg = isSubscribeMsg;
	}
	public byte[] getPicture() {
		return picture;
	}
	public void setPicture(byte[] picture) {
		this.picture = picture;
	}
	public Integer getCheckType() {
		return checkType;
	}
	public void setCheckType(Integer checkType) {
		this.checkType = checkType;
	}
	@Override
	public String toString() {
		return "UserModel [id=" + id + ", username=" + username + ", password=" + password + ", chName=" + chName
				+ ", email=" + email + ", mobile=" + mobile + ", birthday=" + birthday + ", integral=" + integral
				+ ", disabled=" + disabled + ", isAdmin=" + isAdmin + ", grade=" + grade + ", ip=" + ip
				+ ", createDate=" + createDate + ", outDate=" + outDate + ", validataCode=" + validataCode
				+ ", isActivate=" + isActivate + ", sex=" + sex + ", province=" + province + ", city=" + city
				+ ", industry=" + industry + ", job=" + job + ", blogId=" + blogId + ", isOpenBlog=" + isOpenBlog
				+ ", isAllowAt=" + isAllowAt + ", isAllowSendMsg=" + isAllowSendMsg + ", isSubscribeMsg="
				+ isSubscribeMsg + ", picture=" + Arrays.toString(picture) + ", checkType=" + checkType + "]";
	}
    
}